program Center;

uses
  Forms,
  ufrmMain in 'ufrmMain.pas' {frmMain},
  UdataMoudule in 'UdataMoudule.pas' {CommonData: TDataModule},
  UBaseForm in '..\Public\UBaseForm.pas' {frmBase},
  UBaseBrowseForm in '..\Public\UBaseBrowseForm.pas' {frmBaseBrowse},
  UfrmProductBrowse in 'UfrmProductBrowse.pas' {frmProductBrowse},
  UfrmReport in '..\Public\UfrmReport.pas' {frmReport},
  UfrmReportTemplate in '..\Public\UfrmReportTemplate.pas' {frmReportTemplate},
  UReportInf in '..\Public\UReportInf.pas',
  ufrmLogin in 'ufrmLogin.pas' {frmLogin},
  UfrmBaseEdit in '..\Public\UfrmBaseEdit.pas' {frmBaseEdit},
  UfrmProductEdit in 'UfrmProductEdit.pas' {frmProductEdit},
  UfrmStandarBrowse in '..\Public\UfrmStandarBrowse.pas' {frmStandarBrowse},
  UfrmStandarEdit in '..\Public\UfrmStandarEdit.pas' {frmStandarEdit},
  WSUtils in '..\Public\WSUtils.pas',
  UfrmVoucherBrowse in '..\Public\UfrmVoucherBrowse.pas' {frmVoucherBrowse},
  UfrmProviderBrowse in 'UfrmProviderBrowse.pas' {frmProviderBrowse},
  UfrmProviderEdit in 'UfrmProviderEdit.pas' {frmProviderEdit},
  UfrmVoucherBaseEdit in '..\Public\UfrmVoucherBaseEdit.pas' {frmVoucherBaseEdit},
  WSConsts in '..\Public\WSConsts.pas',
  UfrmPurchaseStockEdit in 'UfrmPurchaseStockEdit.pas' {frmPurchaseStockEdit},
  UfrmPurchaseStockBrowse in 'UfrmPurchaseStockBrowse.pas' {frmPurchaseStockBrowse},
  UfrmBaseSelector in '..\Public\UfrmBaseSelector.pas' {frmBaseSelector},
  UfrmProductSelector in 'UfrmProductSelector.pas' {frmProductSelector},
  UfrmProductDetailEdit in 'UfrmProductDetailEdit.pas' {frmProductDetailEdit},
  UfrmClientSelector in 'UfrmClientSelector.pas' {frmClientSelector},
  WSSecurity in '..\Public\WSSecurity.pas',
  UfrmJXOrderEdit in 'UfrmJXOrderEdit.pas' {frmJXOrderEdit},
  UfrmPurchaseIndent in 'UfrmPurchaseIndent.pas' {frmPurchaseIndent},
  UfrmPurchaseIndentBrowse in 'UfrmPurchaseIndentBrowse.pas' {frmPurchaseIndentBrowse},
  UfrmSaleOrderEdit in 'UfrmSaleOrderEdit.pas' {frmSaleOrderEdit},
  UfrmSaleOrderBrowse in 'UfrmSaleOrderBrowse.pas' {frmSaleOrderBrowse};

{$R *.res}

begin
  Application.Initialize;
  
  Application.CreateForm(TCommonData, CommonData);
  // Application.CreateForm(TfrmMain, frmMain);
  Guarder.Close;
  Guarder.LoginPrompt:=True;
  Guarder.Open;
 { frmLogin:=TfrmLogin.Create(nil);
  frmLogin.ShowModal;
  if frmLogin.Tag =1 then
    Application.CreateForm(TfrmMain, frmMain);

  frmLogin.Free;  }
  Application.Run;
end.
